package com.bean;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

@Data
public class BeanA {


    private BeanB beanB;

    @Autowired
    public void setBeanB(BeanB beanB) {
        this.beanB = beanB;
    }
}
